package com.xxgc.eow.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxgc.eow.entity.Treatmenttype;

import java.util.List;

/**
 * <p>
 * 待遇类型表 服务类
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-22
 */
public interface ITreatmenttypeService extends IService<Treatmenttype> {
    int delTreatmentType(Treatmenttype treatmenttype);

    List<Treatmenttype> getByKeyWord(int pageNum , int pageSize ,String keyWord);

    List<Treatmenttype> getAllPage(String keyWord);

    int addTreatmentType(Treatmenttype treatmenttype);

    int updatTreatmentType(Treatmenttype treatmenttype);
}
